package com.plz.afmt.utils;

/**
 * 2 * @Author: swing
 * 3 * @Date: 2020/3/26 10:39
 * 4
 */
public class NFileUtils {
    /**
     * 获取文件后缀名
     * @param fileName
     * @return
     */
    public static final String getFileSuffix(String fileName) {
        int subIndex = fileName.lastIndexOf(".") + 1;
        String suffix = fileName.substring(subIndex);
        return suffix;
    }
}
